/*
 * protocol_packet.cpp
 *
 *  Created on: 07.07.2013
 *      Author: SpirTanol
 */

#include "packets/protocol_packet.h"
//=========================================================================================
ProtocolPacket::ProtocolPacket(const ProtocolPacket *packet)
{
	init();
	memcpy(oData, packet->oData, sizeof(ushort) * R_SIZE * 10);
}
//=========================================================================================
ProtocolPacketV50::ProtocolPacketV50(const ProtocolPacketV50 *packet) : ProtocolPacket(packet)
{
	memcpy(oData, packet->oData, sizeof(ushort) * 10);
	oCurrentScale = packet->oCurrentScale;
}
